export default {
  // state指的是所有的公用数据，city是外部传递过来的参数
  changeCity (state, city) {
    state.city = city
    try {
      localStorage.city = city
    } catch (e) {}
  }
}
